package oop6;

import oop5.Cat;
import oop5.Dog;

/**
 * @author oldliu
 * @since 1.0
 */
public class PetDoctorTest {
    public static void main(String[] args) {
        PetDoctor doctor = new PetDoctor("老吴");
        Cat c = new Cat("小花花", 40, 50, "公");

        Dog d = new Dog("刀疤黄", 30, 50, "公", "田园犬");
        Parrot p = new Parrot("小翠");
        doctor.cure(c);
        doctor.cure(d);
        doctor.cure(p);
        System.out.println("-----------------------");
        Tiger t = new Tiger("小美丽", 89, 79, "母");
        doctor.cure(t);
    }
}
